package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.util.Date;
/**
 * 联机账户类型定义表（暂时用不到）
 * @author sun
 *
 */
public class OnlAccountType implements Serializable {
    /** 账户类型 */
    private Integer acType;

    /** 类型名称 */
    private String acTypeName;

    /** 账户分类   01:个人联机账户    02:团体联机账户 */
    private String acKind;

    /** 有效标识  0:无效；1:有效 */
    private String useflag;

    /** 是否允许注销退款   0:不允许   1:允许 */
    private String allowRefund;

    /** 认证方式   1:用卡认证  2:用人认证  3:指纹认证 */
    private String approveWay;

    /** 验证方式   交易验证方式-1：密码验证,2：指纹验证,3：不需要验证 */
    private String checkWay;

    /** 密码生成方式  1:随机    2:根据规则生成 */
    private String pwdCreateWay;

    /** 是否需要激活   0:否   1:是 */
    private String isActivate;

    /** 允许密码输错次数 */
    private Integer pwdInputNum;

    /** 卡与账户绑定规则   1:账户与卡一一对应   2:一个账户可以绑定多张卡 */
    private String accBindingRule;

    /** 冻结后是否允许充值     0:否  1:是 */
    private String isAllowCharge;

    /** 是否允许圈存  0:否   1:是 */
    private String isExcharge;

    /** 圈存绑定规则    1:账户与卡一一对应  2:一个账户可以绑定多张卡 */
    private String bindingRule;

    /** 是否允许转账  0:否  1:是 */
    private String isAllowTrans;

    /** 账户有效期  月份 */
    private Integer accountValidTime;

    /** 最后一次修改柜员号 */
    private String lastOperator;

    /** 最后一次修改日期 */
    private Date lastDate;

    /** 备注 */
    private String remark;

    /** 默认密码 */
    private String defaultPwd;

    private static final long serialVersionUID = 1L;

    public Integer getAcType() {
        return acType;
    }

    public void setAcType(Integer acType) {
        this.acType = acType;
    }

    public String getAcTypeName() {
        return acTypeName;
    }

    public void setAcTypeName(String acTypeName) {
        this.acTypeName = acTypeName == null ? null : acTypeName.trim();
    }

    public String getAcKind() {
        return acKind;
    }

    public void setAcKind(String acKind) {
        this.acKind = acKind == null ? null : acKind.trim();
    }

    public String getUseflag() {
        return useflag;
    }

    public void setUseflag(String useflag) {
        this.useflag = useflag == null ? null : useflag.trim();
    }

    public String getAllowRefund() {
        return allowRefund;
    }

    public void setAllowRefund(String allowRefund) {
        this.allowRefund = allowRefund == null ? null : allowRefund.trim();
    }

    public String getApproveWay() {
        return approveWay;
    }

    public void setApproveWay(String approveWay) {
        this.approveWay = approveWay == null ? null : approveWay.trim();
    }

    public String getCheckWay() {
        return checkWay;
    }

    public void setCheckWay(String checkWay) {
        this.checkWay = checkWay == null ? null : checkWay.trim();
    }

    public String getPwdCreateWay() {
        return pwdCreateWay;
    }

    public void setPwdCreateWay(String pwdCreateWay) {
        this.pwdCreateWay = pwdCreateWay == null ? null : pwdCreateWay.trim();
    }

    public String getIsActivate() {
        return isActivate;
    }

    public void setIsActivate(String isActivate) {
        this.isActivate = isActivate == null ? null : isActivate.trim();
    }

    public Integer getPwdInputNum() {
        return pwdInputNum;
    }

    public void setPwdInputNum(Integer pwdInputNum) {
        this.pwdInputNum = pwdInputNum;
    }

    public String getAccBindingRule() {
        return accBindingRule;
    }

    public void setAccBindingRule(String accBindingRule) {
        this.accBindingRule = accBindingRule == null ? null : accBindingRule.trim();
    }

    public String getIsAllowCharge() {
        return isAllowCharge;
    }

    public void setIsAllowCharge(String isAllowCharge) {
        this.isAllowCharge = isAllowCharge == null ? null : isAllowCharge.trim();
    }

    public String getIsExcharge() {
        return isExcharge;
    }

    public void setIsExcharge(String isExcharge) {
        this.isExcharge = isExcharge == null ? null : isExcharge.trim();
    }

    public String getBindingRule() {
        return bindingRule;
    }

    public void setBindingRule(String bindingRule) {
        this.bindingRule = bindingRule == null ? null : bindingRule.trim();
    }

    public String getIsAllowTrans() {
        return isAllowTrans;
    }

    public void setIsAllowTrans(String isAllowTrans) {
        this.isAllowTrans = isAllowTrans == null ? null : isAllowTrans.trim();
    }

    public Integer getAccountValidTime() {
        return accountValidTime;
    }

    public void setAccountValidTime(Integer accountValidTime) {
        this.accountValidTime = accountValidTime;
    }

    public String getLastOperator() {
        return lastOperator;
    }

    public void setLastOperator(String lastOperator) {
        this.lastOperator = lastOperator == null ? null : lastOperator.trim();
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getDefaultPwd() {
        return defaultPwd;
    }

    public void setDefaultPwd(String defaultPwd) {
        this.defaultPwd = defaultPwd == null ? null : defaultPwd.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", acType=").append(acType);
        sb.append(", acTypeName=").append(acTypeName);
        sb.append(", acKind=").append(acKind);
        sb.append(", useflag=").append(useflag);
        sb.append(", allowRefund=").append(allowRefund);
        sb.append(", approveWay=").append(approveWay);
        sb.append(", checkWay=").append(checkWay);
        sb.append(", pwdCreateWay=").append(pwdCreateWay);
        sb.append(", isActivate=").append(isActivate);
        sb.append(", pwdInputNum=").append(pwdInputNum);
        sb.append(", accBindingRule=").append(accBindingRule);
        sb.append(", isAllowCharge=").append(isAllowCharge);
        sb.append(", isExcharge=").append(isExcharge);
        sb.append(", bindingRule=").append(bindingRule);
        sb.append(", isAllowTrans=").append(isAllowTrans);
        sb.append(", accountValidTime=").append(accountValidTime);
        sb.append(", lastOperator=").append(lastOperator);
        sb.append(", lastDate=").append(lastDate);
        sb.append(", remark=").append(remark);
        sb.append(", defaultPwd=").append(defaultPwd);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}